Shopglut\tools\productCustomField\ProductCustomFieldHandler D

Total Complexity 128
Dependencies 0
Dependents 3
Total lines 762
Lines of code 532
Logical lines of code 337
Comment lines 125
Methods 38
Properties 1

Methods 38

Method Rating Maintainability Complexity Lines of code
render_textarea_field()
B
43 16 46
get_custom_fields_for_position()
A
41 15 49
render_radio_field()
A
49 8 31
inject_after_add_to_cart_fields()
S
44 4 75
get_all_custom_fields()
S
50 6 30
should_display_for_product()
S
56 6 18
render_field()
S
59 4 16
render_toggle_switch()
S
59 4 13
display_custom_fields_by_position()
S
60 4 12
render_basic_radio()
S
60 4 12
render_button_group()
S
60 4 12
render_card_selection()
S
60 4 12
render_timeline()
S
58 3 16
render_info_boxes()
S
58 3 15
init_hooks()
S
61 3 14
render_tags()
S
59 3 14
render_bullet_points()
S
60 3 13
render_numbered_list()
S
59 3 13
render_features_grid()
S
60 3 13
render_cards()
S
61 3 12
should_display_for_product_new()
S
63 3 11
render_simple_list()
S
63 3 10
render_frontend_field()
S
69 3 7
get_instance()
S
71 2 6
register_astra_hooks()
S
61 1 12
register_woocommerce_hooks()
S
61 1 12
__construct()
S
79 1 3
display_custom_fields_before_title()
S
81 1 3
display_custom_fields_after_title()
S
81 1 3
display_custom_fields_before_price()
S
81 1 3
display_custom_fields_after_price()
S
81 1 3
display_custom_fields_before_description()
S
81 1 3
display_custom_fields_after_description()
S
81 1 3
display_custom_fields_after_add_to_cart()
S
81 1 3
display_custom_fields_before_add_to_cart()
S
81 1 3
display_custom_fields_before_meta()
S
81 1 3
display_custom_fields_after_meta()
S
81 1 3
render_paragraphs()
S
73 1 5